package extract;

import java.util.LinkedList;
import java.util.List;

import com.sun.org.apache.bcel.internal.generic.NEW;

public class MovieObj implements Comparable<MovieObj> {
	public String name;
	public List<String> stars=new LinkedList<String>();
	public List<String> directors=new LinkedList<String>();
	public List<String> writers=new LinkedList<String>();
	public double rating;
	public List<String> mood=new LinkedList<String>();
	public List<String> plot=new LinkedList<String>();
	public List<String> genres=new LinkedList<String>();
	public List<String>audience=new LinkedList<String>();
	public List<String> similars=new LinkedList<String>();
	
	public boolean toDiscard=false;
	public int kNNValue;
	public double distance;
	
	public int compareTo(MovieObj o) {

		return this.kNNValue-o.kNNValue;
	}
}
